package com.blog.wl2023.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;

import lombok.NoArgsConstructor;

/**
 * @author wule
 * @date 2023-11-21  16:37
 * @desc
 */
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "announcement")
@Data
public class Announcement extends BaseEntity{


	@Column(name = "title")
	private String title;

	@Column(name = "message")
	private String message;

	@Column(name = "type")
	private String type;

	/**
	 * 1:显示 0:不显示
	 */
	@Column(name = "status")
	private String status;

}
